Windows Mobile – Ctlpnl.exe arguments
Did you know you can launch ctlpnl.exe to open a defined applet directly?
OK, here we go:
ctlpnl.exe cplmain.cpl,26
will open the Wireless Manager. You can use that in a .lnk file if you need a direct option to launch ctlpnl.exe with a specific applet:
255#"\windows\ctlpnl.exe" cplmain.cpl,26
REMEMBER: do NOT add a newline in the .lnk ASCII file!
Here is a list of know arguments:
0 - Contrast 1 - Password 2 - Owner Information 3 - Power 4 - Memory 5 - About 6 - Backlight 7 - Align Screen 8 - Input Method 9 - Sounds & Reminders 10 - Remove Programs 11 - Menus 12 - Buttons 13 - Today Settings 14 - Domain Enrollment 15 - Beam 16 - Clock & Alarms 17 - Configure Wireless Networks 18 - Regional Settings 19 - Connections - i.e. My ISP, My Work 20 - Phone Settings - Network Selection, Call barring etc 21 - ?? 22 - Manager Certificates 23 - Bluetooth 24 - Error Reporting 25 - GPS Port Settings 26 - Wireless Manager, WLAN, Bluetooth, Phone 27 - Encryption 28 - USB to PC 29 - Customer Feedback 30 - Task Manager
Update:
To open directly a tab of an applet, add the tab number (starting by 0):
For example for the bluetooth applet
255#"\windows\ctlpnl.exe" cplmain.cpl,23,0 255#"\windows\ctlpnl.exe" cplmain.cpl,23,1 255#"\windows\ctlpnl.exe" cplmain.cpl,23,2
0, 1 , 2 are for the tabs available in an applet (here for Bluetooth):
0: Devices
1: Mode
2: COM Ports